package org.rjxh.examfront.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class CodeRequest {
    private String source;
    private String language;
    private String stdin;
    private Long questionId;

    public CodeRequest(String runCode, String language, String stdin) {
        this.source = runCode;
        this.language = language;
        this.stdin = stdin;
    }
}
